#include<iostream>
#include<vector>

int main()
{
    std::vector<unsigned char> vec = { 1, 2, 3, 4, 5 };

    // 获取vector的地址
    unsigned char* address = vec.data();
    std::cout << "Address: " << static_cast<void*>(address) << std::endl;

    // 获取vector的长度
    size_t length = vec.size();
    std::cout << "Length: " << length << std::endl;

    return 0;
}